package com.example.springbootsfzy.mapper;

import com.example.springbootsfzy.domain.QaReplies;
import com.github.pagehelper.Page;

/**
* @author 30658
* @description 针对表【qa_replies】的数据库操作Mapper
* @createDate 2025-01-02 15:11:37
* @Entity com.example.springbootsfzy.domain.QaReplies
*/
public interface QaRepliesMapper {

    int deleteByPrimaryKey(int id);

    int insert(QaReplies record);

    int insertSelective(QaReplies record);

    QaReplies selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(QaReplies record);

    int updateByPrimaryKey(QaReplies record);

    Page<QaReplies> getQaReplies();

    Page<QaReplies> getQaRepliesByQuestionId(int qId);

    Page<QaReplies> getRepliesByMemberId(Integer memberId);

}
